<h1>Login</h1>

<% if flash[:notice] %>   
	<div style="font-family:'Trebuchet MS'; color:#FF0000; font-size:14px;">   
		<%= flash[:notice] %> 
		</div>   
<% end %> 
<%session[:user_id] = nil%>

  
<!--creates form, exectues the authenticate method when the submit button is clicked-->   
<%= form_tag :action=>'authenticate' %>   
User Name:   
	<%= text_field("userform", "user_name",:size=>"20" ) %>  
	
	<br /> <br />
	 
Password&#8194;:   
	<%= password_field("userform", "password",:size=>"22" ) %>   

	<br />	<br />
	
	<input type="submit" value=" LOGIN " />  

